Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

RichFaces Interview Questions and Answers

Question: What is a4j:status in RichFaces?
Answer: The a4j:status component is an indicator of an Ajax request. It has two states: start and stop. The start state indicates that an Ajax request is in progress. When an Ajax Response is returned, the component switches to the stop state. Give a loading progress on a ajax call:

<rich:modalPanel id="statusModalPanelId" autosized="true" resizeable="false">

        <h:graphicImage  value="/views/images/loading.gif"/>

        <a4j:status id="statusId" onstop="Richfaces.hideModalPanel('statusModalPanelId');">

                <f:facet name="start"></f:facet>

        </a4j:status>

 </rich:modalPanel>

Is it helpful? Yes No

Most helpful rated by users:

©2024 WithoutBook